package com.pubinfo.passbook.common.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 收费大类表
 *
 * @TableName t_rule_charge_genera
 */
@TableName(value = "t_rule_charge_genera")
@ApiModel(value = "TRuleChargeGenera", description = "收费大类表")
@Data
@NoArgsConstructor
public class TRuleChargeGenera implements Serializable {
  /**
   *
   */
  @TableId(type = IdType.ASSIGN_UUID, value = "id")
  private String id;
  
  /**
   * 起付标准
   */
  @ApiModelProperty("起付标准")
  private Integer startingPayment;
  
  /**
   *
   */
  private String name;
  
  /**
   * 创建时间
   */
  @TableField(fill = FieldFill.INSERT)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createTime;
  
  @TableField(fill = FieldFill.INSERT_UPDATE)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date updateTime;
  
  /**
   * 说明
   */
  @ApiModelProperty("说明")
  private String details;
  
  /**
   * 病种类型id
   */
  @ApiModelProperty("病种类型id")
  private String diseasesTypeId;
  
  /**
   * 费用类别 0：门诊医药费 1：住院医药费
   */
  @ApiModelProperty("费用类别 0：门诊医药费 1：住院医药费")
  private Byte expenseCategory;
  
  @TableField(exist = false)
  private static final long serialVersionUID = 1L;
}